package com.lotusyu.share.service;

import com.lotusyu.share.event.Result;

import java.util.function.Consumer;

public interface Serviceable<T,R>  {
    void onEvent(T t, Consumer<R> resultHandler);


}
